<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>骨医快线</title>
	<link rel="stylesheet" href="../../css/mui.plus.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav pri-bar">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">康复宝</h1>
	    <a id="btn-qrcode" class="mui-icon mui-pull-right" data-page = "qrcode.html">
        	<img src="../../images/icon-qrcode.png" style="width: 20px;" id="btn-qrcode"/>
        </a>
	</header>
	
	<div class="mui-content">
	</div>
	
	<script src="../../js/mui.min.js"></script>
	<script src="../../js/app.js"></script>
	<script src="../../js/lib/template.js"></script>
	<script>
		;(function($, a){
			var wv = null,
				embed = null,
				wx_url;
			
			$('body').on('tap', '#btn-qrcode', function(){
				$.openWindow({
					url: this.dataset.page,
					waiting: {
						autoShow: false
					},
					extras: {
						url: wx_url,
						desc: '扫描二维码在微信中查看'
					}
				});
			});
			
			$.plusReady(function(){
				wv = plus.webview.currentWebview();
				wx_url = wv.url;
				embed=plus.webview.create(wx_url,"",{top:"46px",bottom:"0px"});
				embed.show();
			});
			
		}(mui, app));
	</script>
</body>
</html>